import request from '@/utils/request'

export function fetchUserInfo( query ) {
    return request({
        url: '/users/current',
        method: 'get',
        params: query
    })
}